<aside>
<?php
if(logged_in() === true) {
include 'includes/widgets/loginsuccess.php';
} else {
include 'includes/widgets/login.php';
}

?>          
</aside>